﻿using System.Reflection;
using JESAI.HttpRequestMonitor.Dashboard.API.Services;
using Microsoft.AspNetCore.Mvc.Controllers;

namespace JESAI.HttpRequestMonitor.Dashboard.API
{
    internal class HttpRequestMonitorDashboardControllerFeatureProvider : ControllerFeatureProvider
    {
        protected override bool IsController(TypeInfo typeInfo)
        {
            if (typeInfo == typeof(DashboardDataProvideService))
            {
                return true;
            }
            return base.IsController(typeInfo);
        }
    }
}